Layer

class Layer : GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType> , VectorTile.Tile.LayerOrBuilder
Layers are described in section 4.1 of the specification
Protobuf type vector_tile.Tile.Layer

Types

Link copied to clipboard
class Builder : GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType> , VectorTile.Tile.LayerOrBuilder
Layers are described in section 4.1 of the specification
Protobuf type vector_tile.Tile.Layer

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Link copied to clipboard
Link copied to clipboard
fun getDefaultInstanceForType(): MessageType
abstract fun getDefaultInstanceForType(): MessageLite
Link copied to clipboard
fun <Type> getExtension(extension: ExtensionLite<MessageType, Type>): Type
Link copied to clipboard
fun <Type> getExtensionCount(extension: ExtensionLite<MessageType, List<Type>>): Int
Link copied to clipboard
open fun getExtent(): Int
Although this is an "optional" field it is required by the specification.
See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
open fun getFeaturesCount(): Int
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;
Link copied to clipboard
open fun getKeys(index: Int): String
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun getKeysBytes(index: Int): ByteString
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun getKeysCount(): Int
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun getKeysList(): List<String>
Dictionary encoding for keys
repeated string keys = 3;
Link copied to clipboard
open fun getName(): String
required string name = 1;
Link copied to clipboard
open fun getNameBytes(): ByteString
required string name = 1;
Link copied to clipboard
fun getParserForType(): Parser<MessageType>
abstract fun getParserForType(): Parser<out MessageLite>
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
open fun getValuesCount(): Int
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;
Link copied to clipboard
open fun getVersion(): Int
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
required uint32 version = 15 [default = 1];
Link copied to clipboard
fun <Type> hasExtension(extension: ExtensionLite<MessageType, Type>): Boolean
Link copied to clipboard
open fun hasExtent(): Boolean
Although this is an "optional" field it is required by the specification.
See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasName(): Boolean
required string name = 1;
Link copied to clipboard
open fun hasVersion(): Boolean
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
required uint32 version = 15 [default = 1];
Link copied to clipboard
Link copied to clipboard
fun newBuilderForType(): BuilderType
abstract fun newBuilderForType(): MessageLite.Builder
Link copied to clipboard
open fun <ContainingType : MessageLite?, Type> newRepeatedGeneratedExtension(containingTypeDefaultInstance: ContainingType, messageDefaultInstance: MessageLite, enumTypeMap: Internal.EnumLiteMap<out Any>, number: Int, type: WireFormat.FieldType, isPacked: Boolean, singularType: Class): GeneratedMessageLite.GeneratedExtension<ContainingType, Type>
Link copied to clipboard
open fun <ContainingType : MessageLite?, Type> newSingularGeneratedExtension(containingTypeDefaultInstance: ContainingType, defaultValue: Type, messageDefaultInstance: MessageLite, enumTypeMap: Internal.EnumLiteMap<out Any>, number: Int, type: WireFormat.FieldType, singularType: Class): GeneratedMessageLite.GeneratedExtension<ContainingType, Type>
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): VectorTile.Tile.Layer
Link copied to clipboard
open fun parseFrom(data: ByteString): VectorTile.Tile.Layer
open fun parseFrom(input: CodedInputStream): VectorTile.Tile.Layer
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): VectorTile.Tile.Layer
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): VectorTile.Tile.Layer
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): VectorTile.Tile.Layer
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): VectorTile.Tile.Layer
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): VectorTile.Tile.Layer
Link copied to clipboard
open fun parser(): Parser<VectorTile.Tile.Layer>
Link copied to clipboard
fun toBuilder(): BuilderType
abstract fun toBuilder(): MessageLite.Builder
Link copied to clipboard
open fun toByteArray(): Array<Byte>
Link copied to clipboard
open fun toByteString(): ByteString
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun writeDelimitedTo(output: OutputStream)
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)